package com.learn.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

/**
 * @author bill
 * @version 1.0
 * @date 2021/8/13 16:29
 * @description
 */
@Configuration
@AutoConfigureAfter(RedisAutoConfiguration.class)
@Slf4j
public class RedisLockAutoConfiguration {

    @PostConstruct
    public void init(){
        log.info("初始化redis-lock组件");
    }
}
